package prototype.persistence.pojo;

import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;


/**
 * <p>Pojo mapping TABLE UNIT</p>
 * <p></p>
 *
 * <p>Generated at Sun Jan 03 13:49:53 EET 2010</p>
 * @author Salto-db Generator v1.0.16 / Hibernate pojos and xml mapping files.
 * 
 */
public class Unit implements Serializable {

	/**
	 * Attribute id.
	 */
	private Integer id;
	
	/**
	 * Attribute name.
	 */
	private String name;
	
	/**
	 * Attribute className.
	 */
	private String className;
	
	/**
	 * Attribute jessFile.
	 */
	private String jessFile;
	
	/**
	 * Attribute modelFile.
	 */
	private String modelFile;
	
	/**
	 * Attribute health.
	 */
	private Integer health;
	
	/**
	 * Attribute armor.
	 */
	private Integer armor;
	
	/**
	 * Attribute movementRate.
	 */
	private Integer movementRate;
	
	/**
	 * Attribute firePower.
	 */
	private Integer firePower;
	
	/**
	 * Attribute rangeDistance.
	 */
	private Integer rangeDistance;
	
	/**
	 * Attribute reloadTime.
	 */
	private Integer reloadTime;
	
	/**
	 * Attribute accuracy.
	 */
	private Integer accuracy;
	
	/**
	 * Attribute fireEffectRadius.
	 */
	private Integer fireEffectRadius;
	
	/**
	 * List of UserHasUnit
	 */
	private List<UserHasUnit> userHasUnits = null;

	
	/**
	 * <p> 
	 * </p>
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id new value for id 
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name new value for name 
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return className
	 */
	public String getClassName() {
		return className;
	}

	/**
	 * @param className new value for className 
	 */
	public void setClassName(String className) {
		this.className = className;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return jessFile
	 */
	public String getJessFile() {
		return jessFile;
	}

	/**
	 * @param jessFile new value for jessFile 
	 */
	public void setJessFile(String jessFile) {
		this.jessFile = jessFile;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return modelFile
	 */
	public String getModelFile() {
		return modelFile;
	}

	/**
	 * @param modelFile new value for modelFile 
	 */
	public void setModelFile(String modelFile) {
		this.modelFile = modelFile;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return health
	 */
	public Integer getHealth() {
		return health;
	}

	/**
	 * @param health new value for health 
	 */
	public void setHealth(Integer health) {
		this.health = health;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return armor
	 */
	public Integer getArmor() {
		return armor;
	}

	/**
	 * @param armor new value for armor 
	 */
	public void setArmor(Integer armor) {
		this.armor = armor;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return movementRate
	 */
	public Integer getMovementRate() {
		return movementRate;
	}

	/**
	 * @param movementRate new value for movementRate 
	 */
	public void setMovementRate(Integer movementRate) {
		this.movementRate = movementRate;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return firePower
	 */
	public Integer getFirePower() {
		return firePower;
	}

	/**
	 * @param firePower new value for firePower 
	 */
	public void setFirePower(Integer firePower) {
		this.firePower = firePower;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return rangeDistance
	 */
	public Integer getRangeDistance() {
		return rangeDistance;
	}

	/**
	 * @param rangeDistance new value for rangeDistance 
	 */
	public void setRangeDistance(Integer rangeDistance) {
		this.rangeDistance = rangeDistance;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return reloadTime
	 */
	public Integer getReloadTime() {
		return reloadTime;
	}

	/**
	 * @param reloadTime new value for reloadTime 
	 */
	public void setReloadTime(Integer reloadTime) {
		this.reloadTime = reloadTime;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return accuracy
	 */
	public Integer getAccuracy() {
		return accuracy;
	}

	/**
	 * @param accuracy new value for accuracy 
	 */
	public void setAccuracy(Integer accuracy) {
		this.accuracy = accuracy;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return fireEffectRadius
	 */
	public Integer getFireEffectRadius() {
		return fireEffectRadius;
	}

	/**
	 * @param fireEffectRadius new value for fireEffectRadius 
	 */
	public void setFireEffectRadius(Integer fireEffectRadius) {
		this.fireEffectRadius = fireEffectRadius;
	}
	
	/**
	 * Get the list of UserHasUnit
	 */
	 public List<UserHasUnit> getUserHasUnits() {
	 	return this.userHasUnits;
	 }
	 
	/**
	 * Set the list of UserHasUnit
	 */
	 public void setUserHasUnits(List<UserHasUnit> userHasUnits) {
	 	this.userHasUnits = userHasUnits;
	 }


}